/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controllerButtons;

import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JButton;

/**
 *
 * @author luc0
 */
public class MouseJoystickButton extends JButton{


    public MouseJoystickButton(){
        super();
        setIcon(new javax.swing.ImageIcon(getClass().getResource("/gamecontrollerserver/resources/mouseJoystick.png")));
    }

  
    @Override
    public void paint(Graphics g) {
        super.paint(g);
           //Mouse anchor for move
         g.setColor(Color.RED);
         g.fillRect(0,0,10,10);
    }


}
